package com.wangzhixuan.model.vo;

import com.wangzhixuan.model.Resource;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * 菜单对象
 * @author lixin
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ResourceVo extends Resource implements Serializable {
    @ApiModelProperty("子菜单")
    private List<ResourceVo> children;
}
